package com.yw.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yw.databaseManageInfo.domain.DatabaseManageInfo;
import com.yw.databaseManageInfo.dto.DatabaseAddDTO;
import com.yw.databaseManageInfo.dto.DatabaseManageDTO;
import com.yw.databaseManageInfo.vo.DatabaseManageInfoVO;
import com.yw.result.PageDTO;


public interface DatabaseManageService extends IService<DatabaseManageInfo> {

    public Page<DatabaseManageInfoVO> pageAllByQuery(DatabaseManageDTO databaseManageDTO);

    public Boolean addDatabase(DatabaseAddDTO databaseAddDTO);

    public Boolean updateDatabase(Integer id,DatabaseAddDTO databaseAddDTO);

    public Boolean updateStatic(Integer id);

    public boolean checkConnection(Integer id);
}
